package cn.com.cetccst.datacenter.policy.entity;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = ComplianceRecordEntity.TABLE_NAME)
public class ComplianceRecordEntity extends ComplianceBase {
    public static final String TABLE_NAME = "compliance_record_entity";

    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "id")
    private long id;
    @ColumnInfo(name = "date", defaultValue = "0")
    private long date;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getDate() {
        return date;
    }

    public void setDate(long date) {
        this.date = date;
    }

}
